package Shale;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import lombok.Data;

/**
 * @author leiwenk <leiwenkang@kuaishou.com>
 * Created on 2021-11-18
 * @description:
 */
@Data
public class ShaleContext {

    private List<Supply> supplyList;

    private List<Demand> demandList;

    private Demand thisDemand;

    private Map<Integer, List<Demand>> satisfyDemandMap = new HashMap<>();

    private double result;


    public ShaleContext(List<Supply> supplyList, List<Demand> demandList, Demand thisDemand) {
        this.supplyList = supplyList;
        this.demandList = demandList;
        this.thisDemand = thisDemand;
    }
}
